package com.project.mall.pojo;


import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

public class Goods {

  public int getGid() {
    return gid;
  }

  public void setGid(int gid) {
    this.gid = gid;
  }

  private int gid;
  private long firid;
  private long secid;
  private String gname;
  private String introduct;
  private long paramid;
  private double price;
  private String service;
  private String others;
  private String showimages;
  @DateTimeFormat(pattern="yyyy-MM-dd")
  private Date uptime;
  private long adminid;
  private Date modifytime;
  private long modifyerid;
  private long hot;
  private String showimage;

  public String getShowimage() {
    return showimage;
  }

  public void setShowimage(String showimage) {
    this.showimage = showimage;
  }

  private List<Applianceparam> applianceparam;
  private Phoneparamters phoneparamters;
  private List<Goodscolor> goodscolor;
  private List<Goodstype> goodstype;
  private Comment comment;
  private  User user;
  private List<Phoneparamters>  phoneparam;
  private Integer count;

  public Integer getCount() {
    return count;
  }

  public void setCount(Integer count) {
    this.count = count;
  }

  public List<Phoneparamters> getPhoneparam() {
        return phoneparam;
    }

    public void setPhoneparam(List<Phoneparamters> phoneparam) {
        this.phoneparam = phoneparam;
    }

    public List<Applianceparam> getApplianceparam() {
    return applianceparam;
  }

  public void setApplianceparam(List<Applianceparam> applianceparam) {
    this.applianceparam = applianceparam;
  }



  public long getFirid() {
    return firid;
  }

  public void setFirid(long firid) {
    this.firid = firid;
  }


  public long getSecid() {
    return secid;
  }

  public void setSecid(long secid) {
    this.secid = secid;
  }


  public String getGname() {
    return gname;
  }

  public void setGname(String gname) {
    this.gname = gname;
  }


  public String getIntroduct() {
    return introduct;
  }

  public void setIntroduct(String introduct) {
    this.introduct = introduct;
  }


  public long getParamid() {
    return paramid;
  }

  public void setParamid(long paramid) {
    this.paramid = paramid;
  }


  public double getPrice() {
    return price;
  }

  public void setPrice(double price) {
    this.price = price;
  }


  public String getService() {
    return service;
  }

  public void setService(String service) {
    this.service = service;
  }


  public String getOthers() {
    return others;
  }

  public void setOthers(String others) {
    this.others = others;
  }


  public String getShowimages() {
    return showimages;
  }

  public void setShowimages(String showimages) {
    this.showimages = showimages;
  }


  public Date getUptime() {
    return uptime;
  }

  public void setUptime(Date uptime) {
    this.uptime = uptime;
  }


  public long getAdminid() {
    return adminid;
  }

  public void setAdminid(long adminid) {
    this.adminid = adminid;
  }


  public Date getModifytime() {
    return modifytime;
  }

  public void setModifytime(Date modifytime) {
    this.modifytime = modifytime;
  }


  public long getModifyerid() {
    return modifyerid;
  }

  public void setModifyerid(long modifyerid) {
    this.modifyerid = modifyerid;
  }


  public long getHot() {
    return hot;
  }

  public void setHot(long hot) {
    this.hot = hot;
  }

  public Phoneparamters getPhoneparamters() {
    return phoneparamters;
  }

  public void setPhoneparamters(Phoneparamters phoneparamters) {
    this.phoneparamters = phoneparamters;
  }

  public List<Goodscolor> getGoodscolor() {
    return goodscolor;
  }

  public void setGoodscolor(List<Goodscolor> goodscolor) {
    this.goodscolor = goodscolor;
  }

  public List<Goodstype> getGoodstype() {
    return goodstype;
  }

  public void setGoodstype(List<Goodstype> goodstype) {
    this.goodstype = goodstype;
  }

  public Comment getComment() {
    return comment;
  }

  public void setComment(Comment comment) {
    this.comment = comment;
  }

  public User getUser() {
    return user;
  }

  public void setUser(User user) {
    this.user = user;
  }
}
